package org.particlethink.auth;

import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter;

import javax.servlet.http.HttpServletRequest;


public class CustomizedUsernamePasswordAuthenticationFilter extends UsernamePasswordAuthenticationFilter {
	// todo 获取账号密码的方式
	@Override
	protected String obtainPassword(HttpServletRequest request) {
		return super.obtainPassword(request);
	}

	@Override
	protected String obtainUsername(HttpServletRequest request) {
		return super.obtainUsername(request);
	}
}
